/*
 * @Descripttion:
 * @version:
 * @Author: 淏
 * @Date: 2023-11-18 11:29:00
 * @LastEditors: 淏
 * @LastEditTime: 2024-05-15 15:57:02
 */
import Vue from 'vue'
import App from './App.vue'
import store from './store'
import Waves from 'vue-waves-effect'
import 'vue-waves-effect/dist/vueWavesEffect.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css' // 默认主题
import UmyUi from 'umy-ui'
import 'umy-ui/lib/theme-chalk/index.css'
// import './assets/css/theme-green/index.css' // 浅绿色主题
import './assets/css/icon.css'
import dataV from '@jiaminghi/data-view'

import router from './router'
Vue.use(dataV)
Vue.use(ElementUI, {
  size: 'small',
})
// 引入全局loading
import loading from './layout/util/loading.js'
Vue.use(loading)

import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false
//公共方法
import publicUtil from './utils/public'
Vue.prototype.$publicUtil = publicUtil // 引入样式
import axios from 'axios'

//axios.defaults.baseURL = 'http://192.168.1.239:28080'
axios.defaults.baseURL = 'http://192.168.1.10:28080'
Vue.prototype.$axios = axios
Vue.use(UmyUi)
Vue.use(Waves)

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
